def minAndMax(*args):
    if len(args)<2:
        print("需要两个参数以上！")
        return None
    else:
        return min(args), max(args)
print(minAndMax(1))
print(minAndMax(1,2,54,3,56,6))